require.config({
    baseUrl: 'js/data'
});
define(['deptData'], function(Depts) {
    console.log(Depts);
    var query = {
        "rows": 5,
        "page": 1,
        "deptNo": ''
    }
    
    Depts.queryDepts(query).done(
        function(data) {
            result = data;
            console.log(result);
        }
    );

    

    // window.setTimeout(result);
    // console.log(queryDepts(query));
})
